package com.service.business.order.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.service.business.order.controller.rep.BaseOrderLockRep;
import com.service.business.order.controller.rep.MemberLockAssetsRep;
import com.service.business.order.controller.rep.OrderLockComboPageRep;
import com.service.business.order.controller.req.OrderComboPageReq;
import com.service.business.order.controller.req.OrderLockReq;
import com.service.core.rest.response.BaseResponse;
import com.service.core.rest.response.CommonPageRep;
import com.service.dao.enums.CoinsEnum;
import com.service.dao.model.OrderProductLockCombo;

public interface OrderProductLockComboService extends IService<OrderProductLockCombo> {

	/**
	 * @Description: 存币业务下单
	 * @Author: ty
	 * @Date: 2021/5/10 15:49
	 * @param: [orderReq]
	 * @return: com.service.business.order.controller.rep.BaseOrderLockRep
	 **/
	void placeLockOrder(Integer lockComboId,OrderLockReq orderReq);

	String buildLockOrderNo();

	BaseOrderLockRep getOrderPayInfo(String lockNo);

	void cancelLockOrder(String lockNo);

	CommonPageRep<OrderLockComboPageRep> page(OrderComboPageReq pageReq);

	/**
	 * @Description: 用户锁仓资产统计
	 * @Author: ty
	 * @Date: 2021/5/11 11:09
	 * @param: []
	 * @return: com.service.business.order.controller.rep.MemberLockAssetsRep
	 **/
	MemberLockAssetsRep assetsLock(CoinsEnum coins);
}
